"""Setup script for ChatWithRepository."""

from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

setup(
    name="chat-with-repository",
    version="0.1.0",
    author="Your Name",
    author_email="your.email@example.com",
    description="Natural language querying for GitHub repositories using RAG",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/yourusername/chat-with-repository",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
    ],
    python_requires=">=3.8",
    install_requires=[
        "langchain>=0.2.0",
        "langchain-community>=0.2.0",
        "langchain-openai>=0.1.0",
        "chromadb>=0.4.0",
        "sentence-transformers>=2.2.0",
        "gitpython>=3.1.0",
        "python-dotenv>=1.0.0",
        "tree-sitter>=0.20.0",
        "tree-sitter-python>=0.20.0",
        "tree-sitter-javascript>=0.20.0",
        "tree-sitter-typescript>=0.20.0",
        "tree-sitter-go>=0.20.0",
        "tree-sitter-java>=0.20.0",
        "PyGithub>=2.1.0",
        "tiktoken>=0.5.0",
        "click>=8.1.0",
        "rich>=13.0.0",
    ],
    entry_points={
        "console_scripts": [
            "chat-with-repo=chat_with_repo.cli:cli",
        ],
    },
)